<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Blog da Disciplina DSWeb</title>
</head>
<body>
<h3>Blog da Disciplina DSWeb</h3>
<h4>Insira o texto da nova postagem:</h4>
<f:view>
<h:outputText rendered="#{usuario.comMensagem}" value="#{usuario.msg}" style="color: #FF0000; font-size: medium"></h:outputText>
	<h:form>
		<h:inputTextarea value="#{usuario.textoPost}"></h:inputTextarea><br>
		<h:commandButton value="Cadastrar Postagem" action="#{usuario.adicionaPostagem}"></h:commandButton>
	</h:form>
</f:view>
</body>
</html>